package de.mediaScan.filesystem;

import java.io.File;
import java.util.List;

import de.mediaScan.exceptions.NoFolderFoundException;

public interface IFolderScanner {

	/**
	 * Scans a given folder for all desired media files.
	 * 
	 * @param pathToFolder Path to the Folder that should be scanned
	 * @return List of all media files in the folder
	 * @throws NoFolderFoundException No folder found at the given path
	 */
	List<File> scanFolder(String pathToFolder) throws NoFolderFoundException;

}
